// =================================================================================================
//
//	CopyEngine Framework
//	Copyright 2012 Eran. All Rights Reserved.
//
//	This program is free software. You can redistribute and/or modify it
//	in accordance with the terms of the accompanying license agreement.
//
// =================================================================================================

/**
 * Created by eran on 14-12-21.
 */
package data
{
    public class MapVo
    {

        //==============
        //==地图的大小
        //==============
        public var xTileNum:int = MapEditorConfig.DEFAULT_MAP_TILE_X_NUM;
        public var yTileNum:int = MapEditorConfig.DEFAULT_MAP_TILE_Y_NUM;

        public function MapVo()
        {
        }

        public function fromJSON(_jsonObj:Object):void
        {
            for (var key:String in _jsonObj)
            {
                this[key] = _jsonObj[key];
            }
        }
    }
}
